package com.example.demo.entity;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@TableName("users")
@Data
@NoArgsConstructor
public class User {
    @TableId(type=IdType.AUTO)
    private Long id;
    private Integer sno;
    private String sname;
    private String sgrade;
    private String password;
    private Double stotal;
    private String isprice;
    private Integer label;
    private String cover;
    @JsonFormat(pattern = "yyyy-MM-dd--HH:mm:ss",timezone = "GMT+8")
    private Date uptime;
    @TableLogic
    private Integer delete;

}



